package com.bac.rentmap.distance;

/**
 * Preselected point on the map. It is very expensive to perform rating
 * calculations for each point on the map. So we will perform such calculations
 * for check points only. Let's asume that near points has similar rating.
 * 
 * @author Andrew Osipenko
 */
public class DistanceCheckPoint {
	private double lat;

	private double lon;

	public DistanceCheckPoint(double lat, double lon) {
		this.lat = lat;
		this.lon = lon;
	}

	public double getLat() {
		return lat;
	}

	public double getLon() {
		return lon;
	}

	@Override
	public String toString() {
		return "lat: " + lat + ", lon: " + lon;
	}
}
